
var Widget = Widget || {};

/**
 * Singleton widget context object.  
 */  
Widget.Context = function() {
	
	function _init() {
		Widget.Utils.initializeSingleton(Widget.Context, this);
	}
	
	// Initializer
	_init();
	
}
Widget.Context.instance = function() {
	
	return Widget.Utils.singletonInstance(Widget.Context, true);
	
}

/**
 * Main method for initializing the widget
 */
Widget.main = function() {
	
	// Initialize control
	Widget.Control.init();
	
};

$(document).ready(Widget.main);
